package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("org.example.dao")      //批量扫描用的mapperScann
public class SpiderApplication
{
    public static void main( String[] args )
    {
        System.out.println( "爬虫项目启动!" );
        SpringApplication.run(SpiderApplication.class);
    }
}
